package com.ruoyi.qymlxin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收货地址对象 address
 *
 * @author qymlxin
 * @date 2022-05-03
 */
public class IAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long id;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 门牌号 */
    @Excel(name = "门牌号")
    private Long housenum;

    /** 用户号 */
    @Excel(name = "用户号")
    private Long userid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setHousenum(Long housenum)
    {
        this.housenum = housenum;
    }

    public Long getHousenum()
    {
        return housenum;
    }
    public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid()
    {
        return userid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("city", getCity())
                .append("address", getAddress())
                .append("housenum", getHousenum())
                .append("userid", getUserid())
                .toString();
    }
}